package com.hk.commons.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_answer_info")
public class Answer implements java.io.Serializable {

    private static final long serialVersionUID = 37438884102626292L;

    @Id
    private Long id;
    private Long userId;
    private String mobileId;
    private String questionArray;
    private String answerArray;
    private String score;
    private String scoreDesc;
    private String scoreLongDesc;
    private String kycPDFUrl; //kyc pdf url
    private String kycHTMLUrl; //kyc html url
    private Long cts;

    @Column(columnDefinition = "bigint(20) comment '答题分组' default 1")
    private Long groupId;

    @Column(columnDefinition = "bigint(20) comment '总分数' ")
    private Long totalScore;

    @Column(columnDefinition = "varchar(50) comment '客户终端的IP 地址'")
    private String terminalIP;

    @Column(columnDefinition = "varchar(10) comment '用户录入信息的终端类型'")
    private String terminalType;

    @Column(columnDefinition = "varchar(512) comment '用户终端的相关信息'")
    private String terminalInfo;

    @Column(columnDefinition = "varchar(50) comment '索引号，请保证对于同一个请求因失败重传时要保持一致,其余情况要保证唯一性'")
    private String referenceNo;

    public String getKycHTMLUrl() {
        return kycHTMLUrl;
    }

    public void setKycHTMLUrl(String kycHTMLUrl) {
        this.kycHTMLUrl = kycHTMLUrl;
    }

    public String getKycPDFUrl() {
        return kycPDFUrl;
    }

    public void setKycPDFUrl(String kycPDFUrl) {
        this.kycPDFUrl = kycPDFUrl;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getScoreDesc() {
        return scoreDesc;
    }

    public void setScoreDesc(String scoreDesc) {
        this.scoreDesc = scoreDesc;
    }

    public Long getCts() {
        return cts;
    }

    public void setCts(Long cts) {
        this.cts = cts;
    }

    public String getQuestionArray() {
        return questionArray;
    }

    public void setQuestionArray(String questionArray) {
        this.questionArray = questionArray;
    }

    public String getAnswerArray() {
        return answerArray;
    }

    public void setAnswerArray(String answerArray) {
        this.answerArray = answerArray;
    }

    public String getScoreLongDesc() {
        return scoreLongDesc;
    }

    public void setScoreLongDesc(String scoreLongDesc) {
        this.scoreLongDesc = scoreLongDesc;
    }

    public String getMobileId() {
        return mobileId;
    }

    public void setMobileId(String mobileId) {
        this.mobileId = mobileId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Long totalScore) {
        this.totalScore = totalScore;
    }

    public String getTerminalIP() {
        return terminalIP;
    }

    public void setTerminalIP(String terminalIP) {
        this.terminalIP = terminalIP;
    }

    public String getTerminalType() {
        return terminalType;
    }

    public void setTerminalType(String terminalType) {
        this.terminalType = terminalType;
    }

    public String getTerminalInfo() {
        return terminalInfo;
    }

    public void setTerminalInfo(String terminalInfo) {
        this.terminalInfo = terminalInfo;
    }

    public String getReferenceNo() {
        return referenceNo;
    }

    public void setReferenceNo(String referenceNo) {
        this.referenceNo = referenceNo;
    }
}


 
